package design.p15_observer;

/**
 * @ClassName: Java
 * @description:
 * @author: zxf
 * @create: 2021-06-19 23:00
 **/
public class MySubject extends AbstractSubject{
    @Override
    public void operator() {
        System.out.println("update self~~~");
        notifyObservers();
    }
}

